﻿using ZeroSum.Models;
using ZeroSumZSA.Application.ApplicationServices.Roles.Dto.In;
using ZeroSumZSA.Application.ApplicationServices.Roles.Dto.Out;
using ZeroSumZSA.Application.ApplicationServices.Roles.Dto.Query;

namespace ZeroSumZSA.Application.ApplicationServices.Roles;

public interface IRoleApplicationService
{
    Task AddAsync(AddRoleDto dto);
    Task UpdateAsync(EditRoleDto dto);
    Task DeleteAsync(DeleteRoleDto dto);
    Task<DetailRoleDto> Detail(DetailRoleQuery query);
    Task<PagedResponseModel<PageRoleDto>> Page(PageRoleQuery input);
}